<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<div class="pageContent">
	<form method="post" action="add_Book_dwz" class="pageForm required-validate"
		onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>
					图书ISBN：
				</label>
				<input name="book.isbn" type="text" size="30" class="required textInput"/>
			</p>
			<p>
				<label>
					图书名称：
				</label>
				<input name="book.bookName" type="text" size="30" alt="" class="required textInput" />
			</p>
			<p>
				<label>
					图书类型：
				</label>
				<s:select list="#request.sysParaList" name="book.bookType"></s:select>
			</p>
			<p>
				<label>
					图书作者：
				</label>
				<input name="book.author" type="text" size="30" alt="" class="required textInput"/>
			</p>
			<p>
				<label>
					出版社：
				</label>
				<input name="book.press" type="text" size="30" alt="" class="required textInput"/>
			</p>
			<p>
				<label>
					图书定价：
				</label>
				<input name="book.price" type="text" size="30" alt="" class="required number textInput" />
			</p>
			<p>
				<label>
					捐赠人编号：
				</label>
				<input name="book.donator.donatorId" type="text" size="30" alt="" class="required digits textInput"/>
			</p>
			<p>
				<label>
					存放书架：
				</label>
				<input name="book.bookrack" type="text" size="30" alt="" class="required digits textInput" />
			</p>
			<p>
				<label>
					捐赠时间：
				</label>
				<input type="text" name="book.donatorTime" class="date required"
					readonly="readonly"/>
				<a class="inputDateButton" href="javascript:;">选择</a>
				<span class="info">yyyy-MM-dd</span>
			</p>
			<p>
				<label>
					是否可借：
				</label>
				<select class="combox" name="book.borrowOK" class="required">
						<option value="1">可借</option>
						<option value="0">不可借</option>
					</select>
			</p>
			<p>
				<label>
					操作员编号：
				</label>
				<input name="book.operatorId" type="text" size="30" alt="" value="${operatorId}" readonly="readonly" class="required"/>
			</p>
			<p>
				<label>
					操作员姓名：
				</label>
				<input name="" type="text" size="30" alt="" value="${operatorName}" readonly="readonly" class="required"/>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">
								保存
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>

